#ifndef __CODECMANAGER_H__
#define __CODECMANAGER_H__

#include <vector>
#include "BlendCodecStream.h"

class CCodecManager
{
public:
	CCodecManager(void);
	CStreamBase* CreateStream(unsigned long Class_ID);
	long GetStreamCount(unsigned long Class_ID);
	void ReleaseStream(CStreamBase* &p);

	virtual ~CCodecManager(void);
protected:
	CMultiThreadEventManager event_manager;
	std::vector<CStreamBase*> codec_array;
	long stream_count_all;
};

#endif